package com.jxs.android.sxyw.data;

public enum OrderType {
	NULL(-1), CASE_ALARM(0), CASE_TASK(2), EOMS_ALARM(4), EOMS_POWER(5);
	public int index;

	OrderType(int index) {
		this.index = index;
	}

	public static OrderType get(int index) {
		OrderType orderType = NULL;
		switch (index) {
		case 0:
			orderType = CASE_ALARM;
			break;
		case 2:
			orderType = CASE_TASK;
			break;
		case 4:
			orderType = EOMS_ALARM;
			break;
		case 5:
			orderType = EOMS_POWER;
			break;
		}
		return orderType;
	}

}
